package com.bltec.emergency.service.mgrService.impl;

import com.bltec.emergency.mapper.LogInfoMapper;
import com.bltec.emergency.model.LogInfo;
import com.bltec.emergency.service.mgrService.LogInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LogInfoServiceImpl implements LogInfoService {
    @Resource
    LogInfoMapper logInfoMapper;
    @Override
    public boolean save(LogInfo logInfo) {
        return logInfoMapper.insert(logInfo);
    }

    @Override
    public List<LogInfo> getAllLogInfo() {
        return logInfoMapper.getAllLOgInfo();
    }
}
